package com.societyGames.flashForms
{
	public class DockType
	{
		public static const left:DockType = new DockType("left");
		public static const right:DockType = new DockType("right");
		public static const top:DockType = new DockType("top");
		public static const bottom:DockType = new DockType("bottom");
		public static const fill:DockType = new DockType("fill");		
		private static var isInitialized:Boolean = false;		
		//Static constructor
		{
			isInitialized = true;
		}
		
		private var _text:String;
		
		public function DockType(text:String)
		{
			if (isInitialized)
			{
				throw new Error("Cannot instantiate new enum.");
			}
			this._text = text;
		}
	}
}